package com.extrace.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.extrace.server.pojo.Admin;
import org.apache.ibatis.annotations.Select;


public interface AdminMapper extends BaseMapper<Admin> {

    @Select("SELECT * FROM admin WHERE username = #{username}")
    Admin selectByUsername(String username);
}
